-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database #70
Database #70
Conversation
Last two commits add |
Nice job :-) Will try to have a look at it in the near future |
https://github.com/cachix/cachix/blob/master/cachix/src/Cachix/Client/Store.hs#L42 how to properly call sqlite.db across the platforms. |
That's a lot of |
Ohai! Soon! It needs #231 (that's why it is so big) and couple more type annotations / transfomers :(( but it works well (at least on GHC947 hehe) |
The link is dead but I've checked the history - all that's required is |
Ok, yes! Should be good now. |
b28d9e3
to
13cffc1
Compare
PoC of database compatible with Nix ones at
/nix/var/nix/db/db.sqlite
(schema version 10).Allows us to test roundtrips of content addressable addresses and store paths using systems db.
ValidPath
type is the same as the one in-core
, glue conversion code is missing.Test with
This runs queries vs your local database (owned by root so it's safe to play with this), for me currently results in
because we don't have base64 yet.
cc @layus